home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / TODOLIST.ARJ / MAKEFILE next >
Text File  |  1992-01-30  |  961b  |  52 lines

  1. .AUTODEPEND
  2. MEWELRC=c:\mewel
  3. !if !$d(MODEL)
  4. MODEL=l
  5. !endif
  6.  
  7.  
  8. EXEOPTS= 
  9. #EXEOPTS= /v
  10.  
  11. MAINFILE = todowin
  12.  
  13. F1 = $(MAINFILE).obj
  14. F2 = tododlgs.obj
  15. F3 = todolist.obj
  16.  
  17. OBJ_LIST = $(F1) $(F2) $(F3) $(MAINFILE).res 
  18.  
  19. .cpp.obj :
  20.     bcc +todolst.cfg -m$(MODEL) {$< }
  21.  
  22. .rc.res:
  23.     $(MEWELRC)\rc -DMEWEL -w -p3 $(MAINFILE).rc
  24.  
  25. all: $(MAINFILE).exe
  26.  
  27. $(MAINFILE).exe:  $(OBJ_LIST) makefile
  28.     tlink $(EXEOPTS) -lP @&&!
  29. -Lc:\mewel;i:\bc\owl\lib;i:\bc\classlib\lib;i:\bc\lib+
  30. c0$(MODEL)+
  31. $(F3)+
  32. $(F2)+
  33. $(F1),+
  34. $(MAINFILE).EXE,NUL, winlibtl emu math$(MODEL) c$(MODEL) mowl tclassl
  35. !
  36.     $(MEWELRC)\rc $(MAINFILE).res
  37.  
  38.  
  39. # ------------------------------------------------------------------------
  40. #                Dependencies for the C files
  41. # ------------------------------------------------------------------------
  42.  
  43.  
  44. $(MAINFILE).res    :  todowin.rc
  45.  
  46. $(MAINFILE).obj    : $(MAINFILE).cpp
  47.  
  48. tododlgs.obj    : tododlgs.cpp
  49.  
  50. todolist.obj    : todolist.cpp
  51.  
  52.